package com.ricohgag.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ricohgag.entity.UserCartLog;
import com.ricohgag.entity.custom.UserCartLogVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 肖晖
 * @since 2018-08-25
 */
public interface UserCartLogService extends IService<UserCartLog> {
   public int insertCartLog(UserCartLog userCartLog) throws Exception;
   public List<UserCartLogVo> selectCartVoByUserId(Integer userId) throws Exception;
   public boolean updateByGoodsId(Integer id, Integer userId, Integer num) throws Exception;
   public int delete(Integer id)throws Exception;
   public int deleteByUserId(Integer id)throws Exception;
   public int update(UserCartLog userCartLog) throws Exception;

}
